package com.basker.pisces.domain.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.annotation.AliasFor;

/**
 * @author hangwen
 * @date 2020/12/25
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD})
public @interface ListOutput {
    /**
     * 绑定的实体名称
     *
     * @return
     */
    @AliasFor("value")
    String childEntity() default "";

    @AliasFor("childEntity")
    String value() default "";
}
